//
//  PercentEscaped.h
//  objective_c_language
//
//  Created by 龙 on 2018/5/25.
//  Copyright © 2018年 longlong. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface PercentEscaped : NSObject

/* url 编码
 *
 */
FOUNDATION_EXPORT NSString * PercentEscapedStringFromString(NSString *string);

/* @{@"name":@"zhangsan",@"age":20} ==> name=zhangsan&age=20
 *
 */
FOUNDATION_EXPORT NSString * QueryStringFromParameters(NSDictionary *parameters);

@end
